<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
          "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	  xmlns:h="http://java.sun.com/jsf/html"
	  xmlns:p="http://primefaces.org/ui"
      xmlns:ui="http://java.sun.com/jsf/facelets">
<h:head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  	<title><ui:insert name="title">Default title</ui:insert></title>
  	<h:outputStylesheet library="css" name="estilo.css"/>
  	<style type="text/css">
  		#logotipo{
  			text-align: right;
  			float: right;
  		}
  		body {background-color: #eeeeee; font-size: 12px}
  		
  	</style>
</h:head>

<h:body>

<div align="center">
	<p:layout fullPage="true"> 

            <p:layoutUnit position="north"  size="100"> 
				
				<div id="topo">
					<div id="titulo">
						<ui:insert name="titulo">Conservare Web</ui:insert>
					</div>
					<div id="logotipo">
						<h:graphicImage library="img" name="logotipo_m.png" />
					</div>
				    <div id="barra_menu">
						<ui:insert name="barra_menu">
							<ui:include src="/WEB-INF/comuns/menu_sistema.xhtml"></ui:include>
						</ui:insert>
					</div>
				</div>
            </p:layoutUnit> 



            <p:layoutUnit position="west" size="220"> 

                <ui:insert name="menu">

                    <h:form>

                        <p:menu style="width: 200px">

                            <p:submenu label="Menu">

                                <p:menuitem value="Login" icon="ui-icon-key" />

                                <p:menuitem value="Fazer meu cadastro" icon="ui-icon-contact" />        

                            </p:submenu>

                        </p:menu>

                    </h:form>

                </ui:insert>

            </p:layoutUnit> 

            <p:layoutUnit position="center"> 
				<ui:insert name="corpo">
    
  				</ui:insert>
            </p:layoutUnit> 
			
			<p:layoutUnit position="south"> 
				<ui:insert name="rodape">
					<ui:include src="/WEB-INF/comuns/rodape.xhtml"/>  
  				</ui:insert>
            </p:layoutUnit> 
        </p:layout> 
</div>

</h:body>

</html>
